package day09demo;

public class PhoneTest {
    public static void main(String[] args) {
        Phone p = new Phone();
        p.setBrand("华为");
        p.price = 4999.9;

        System.out.println(p.getBrand());
        System.out.println(p.price);
        p.call();
        p.playGame();


        Phone p2 = new Phone();
        p2.setBrand("苹果");
        p2.price = 9999.9;
    }
}
